package com.yohann.designPattern.proxy.staticproxy;

/**
 * <p>
 * 客户端
 * </p>
 *
 * @author Yohann
 * @since 2021/2/8 16:32
 */
public class Client {
    public static void main(String[] args) {
        TeacherDaoProxy proxy = new TeacherDaoProxy(new TeacherDao());

        /*
        proxy start...
        teaching
        proxy end...
         */
        proxy.teach();
    }
}